.my-order-page {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 88px 0 0 0;
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;
}

.my-order-list {
  padding: 0;
  li {
    margin-bottom: 12px;
  }
  .flex-box {
    display: -webkit-box;
    display: -moz-box;
  }
  .list-flex {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
  }
  .order-list-hd {
    height: 38px;
    line-height: 38px;
    padding: 0 16px;
    background-color: #fff;
  }
  .order-num {
    font-size: 1.4rem;
    color: #666;
  }
  .order-status {
    font-size: 1.6rem;
    color: #333;
    &.pending {
      color: #ff8c00;
    }
  }
  .order-list-bd {
    position: relative;
    padding: 16px;
    overflow: hidden;
    background-color: #f9f9f9;
  }
  .order-type {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: -16px;
    width: 70px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 1rem;
    color: #fff;
    transform: rotate(-45deg);
    font-style: normal;
    &.gty {
      background-color: #7dcf5b;
    }
    &.zyx {
      background-color: #ffbc3e;
    }
    &.ddy {
      background-color: #f7664c;
    }
    &.yl {
      background-color: #14c7fd;
    }
    &.jd {
      background-color: #7c91de;
    }
    &.pq {
      background-color: #48d2d0;
    }
    &.qz {
      background-color: #d3a86d;
    }
  }
  .order-img {
    width: 120px;
    height: 80px;
    margin-right: 8px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .order-info {
    h2 {
      font-size: 1.6rem;
      line-height: 18px;
      color: #333;
      margin-bottom: 6px;
      display: -webkit-box;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    p {
      font-size: 1.2rem;
      color: #999;
    }
  }
  .order-list-ft {
    padding: 0 16px;
    background-color: #fff;
  }
  .order-price {
    font-size: 1.2rem;
    color: #ff8c00;
    height: 44px;
    line-height: 44px;
    span {
      font-size: 2rem;
    }
  }
  .order-btn {
    padding: 10px 0;
    overflow: hidden;
    a {
      float: left;
      height: 24px;
      line-height: 24px;
      padding: 0 13px;
      color: #444;
      font-size: 1.2rem;
      border-radius: 12px;
      margin-left: 8px;
      &:first-child {
        margin: 0;
      }
      &:before {
        border: 1px solid #999;
        border-radius: 24px;
      }
      &.active {
        background-color: #ffd800;
        &:before {
          border: 1px solid #ffd800;
        }
      }
    }
  }
}

.no-order {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #f5f5f5;
  z-index: 1;
  &:after {
    display: inline-block;
    content: '';
    width: 0;
    height: 100%;
    vertical-align: middle;
  }
}

.no-order-tip {
  display: inline-block;
  vertical-align: middle;
}

.no-order {
  img {
    width: 119px;
  }
  p {
    font-size: 1.4rem;
    color: #999;
    line-height: 100%;
    margin-top: 20px;
  }
  a {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    padding: 0 48px;
    color: #444;
    font-size: 1.8rem;
    margin-top: 20px;
    &:before {
      border: 1px solid #999;
      border-radius: 45px;
    }
  }
}
